package com.last.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.last.entity.DataDTO;
import com.last.entity.PageResult;
import com.last.entity.Result;
import com.last.entity.RoomInfo;

public interface IRoomInfoService extends IService<RoomInfo> {
    // 房屋信息列表+条件查询+分页
    PageResult<RoomInfo> search(DataDTO<RoomInfo> dataDTO);

    // 设置成通过
    Result setRoomStatus(RoomInfo roomInfo);

    // 设置成不通过
    Result setRoomStatusNoPass(RoomInfo roomInfo);


}
